package com.hms.service.impl;

import java.io.Serializable;
import java.util.List;

import com.hms.common.Pager;
import com.hms.dao.IBaseDao;
import com.hms.service.IBaseService;

/**
 * 基础业务实现接口. <br>
 * 类详细说明.
 * <p>
 * Copyright: Copyright (c) 2013-3-29 下午3:20:59
 * <p>
 * Company: 北京宽连十方数字技术有限公司
 * <p>
 * 
 * @author wangpz@c-platform.com
 * @version 1.0.0
 */
public class BaseService<T, PK extends Serializable> implements IBaseService<T, PK> {

	private IBaseDao<T, PK> baseDao;

	public IBaseDao<T, PK> getBaseDao() {
		return baseDao;
	}

	public void setBaseDao(IBaseDao<T, PK> baseDao) {
		this.baseDao = baseDao;
	}

	public T get(PK id) {
		return null;
	}

	public T load(PK id) {
		return null;
	}

	public List<T> getAll() {
		return null;
	}

	public T get(String propertyName, Object value) {
		return null;
	}

	public List<T> get(PK[] ids) {
		return null;
	}

	public List<T> getAll(String propertyName, Object value) {
		return null;
	}

	public void delete(PK id) {

	}

	public void delete(PK[] ids) {

	}

	public Long getTotalCount() {
		return null;
	}

	public PK save(T t) {
		return null;
	}

	public void update(T t) {

	}

	public void delete(T t) {
		// TODO Auto-generated method stub
	}

	public void fulsh() {
		// TODO Auto-generated method stub

	}

	public void clear() {
		// TODO Auto-generated method stub

	}

	public void evict(Object object) {
		// TODO Auto-generated method stub

	}

	public Pager<T> findByPager(Pager<T> pager) {
		// TODO Auto-generated method stub
		return null;
	}

	public Boolean isExist(String propertyName, Object value) {
		// TODO Auto-generated method stub
		return null;
	}

	public Boolean isUnique(String propertyName, Object oldValue, Object newValue) {
		// TODO Auto-generated method stub
		return null;
	}

}
